package br.com.ifba.sadd.model
{
	[Bindable]
	[RemoteClass(alias="br.com.ifba.sadd.model.ProfessorDisciplina")]
	public class ProfessorDisciplina
	{
		private var _id:Number;
		private var _professor:Professor;
		private var _disciplina:Disciplina;
		
		public function ProfessorDisciplina()
		{
		}
		
		public function get id():Number
		{
			return _id;
		}
		
		public function set id(value:Number):void
		{
			_id = value;
		}
		
		public function get professor():Professor
		{
			return _professor;
		}
		
		public function set professor(value:Professor):void
		{
			_professor = value;
		}

		public function get disciplina():Disciplina
		{
			return _disciplina;
		}
		
		public function set disciplina(value:Disciplina):void {
			_disciplina = value;
		}
		
		public function toString() : String {
			return disciplina.nome;
		}
	}
}